import request from '@/utils/request'

export function getwarehouse() {//获取仓库
    return request({
        url: '/app/dict/getWare',
        method: 'GET',
    })
}

export function getbrand() {//获取品牌
    return request({
        url: '/app/dict/getGys',
        method: 'GET',
    })
}

export function getModelNumber(type) {//获取型号
    return request({
        url: `/app/dict/getByType/${type}`,
        method: 'GET',
    })
}
